Skip to main content

Next Subedition ID

This script reads the nextSubeditionID from the SubeditionAdmin resource and returns that number to the caller.

Returns: UInt32- The next number in nextSubeditionID from the SubeditionAdmin resource

import TopShot from 0xTOPSHOTADDRESS

pub fun main(): UInt32 {

return TopShot.getNextSubeditionID()
}